package org.example.nio_demo;

import java.nio.ByteBuffer;

/**
 * @ClassName Demo3
 * @Description
 * @Author zhangsw
 * @Date 2020/11/9 21:51
 * @Version 1.0
 */
public class Demo3 {
    public static void main(String[] args) {
        ByteBuffer buffer = ByteBuffer.allocateDirect(1024);
        System.err.println(buffer.isDirect());
    }
}
